<?php
namespace App\Http\Service;

class UserService
{
    private static $userInfo = null;

    public static function getUserInfo() {
        return self::$userInfo;
    }

    public static function setUserInfo($uid, $type) {
        self::$userInfo = [
            'uid' => $uid,
            'type' => $type //用户类型：
        ];
    }
}